<template>
  <div id="header">
    <span id="title">日照市安全生产智能监管信息化平台</span>
  </div>
</template>

<script lang="ts">
import { defineComponent, reactive, toRefs } from "vue";

export default defineComponent({
  setup() {
    const data = reactive({
      show: true,
    });
    const refData = toRefs(data);

    const methods = {
    };
    return { ...refData, ...methods };
  },
});
</script>

<style lang="less" scoped>
#header {
  z-index: 99;
  width: 100%;
  height: 135px;
  position: absolute;
  top: 0;
  background-image: url("../../assets/images/index-header-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 135px;
    background-image: url("../../assets/images/index-header.png");
    background-repeat: no-repeat;
    background-size: cover;
  }
  #title {
    font-size: 48px;
    color: white;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  #fold {
    width: 100px;
    height: 30px;
    position: absolute;
    right: 100px;
    top: 50px;
    text-align: center;
    cursor: pointer;
    color: turquoise;
    span {
      line-height: 28px;
      font-size: 18px;
    }
  }
}
</style>
